package com.eipv.multidatasource;

import com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author zhuxiaolong
 * <p>
 * exclude = PageHelperAutoConfiguration.class用于解决SqlSessionFactory注册的分页拦截与自动拦截器重复问题
 * </p>
 */
@SpringBootApplication(exclude = PageHelperAutoConfiguration.class)
@EnableScheduling
public class SpringbootMultiDatasourceApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootMultiDatasourceApplication.class, args);
    }
}
